package com.examination.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author DYF
 */
@ApiModel(value = "Department" , description = "部门表对象")
public class Department {
    @ApiModelProperty(value = "部门id" , name = "id")
    private int id;

    @ApiModelProperty(value = "用户id" , name = "user_id")
    private int user_id;

    @ApiModelProperty(value = "部门名称" , name = "department_name")
    private String department_name;

    @ApiModelProperty(value = "负责人" , name = "department_charge")
    private String department_charge;

    @ApiModelProperty(value = "电话" , name = "department_phone")
    private String department_phone;

    @ApiModelProperty(value = "备注" , name = "department_remarks")
    private String department_remarks;

    public Department() {
        super();
    }

    public Department(int id, int user_id, String department_name, String department_charge, String department_phone, String department_remarks) {
        this.id = id;
        this.user_id = user_id;
        this.department_name = department_name;
        this.department_charge = department_charge;
        this.department_phone = department_phone;
        this.department_remarks = department_remarks;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getDepartment_name() {
        return department_name;
    }

    public void setDepartment_name(String department_name) {
        this.department_name = department_name;
    }

    public String getDepartment_charge() {
        return department_charge;
    }

    public void setDepartment_charge(String department_charge) {
        this.department_charge = department_charge;
    }

    public String getDepartment_phone() {
        return department_phone;
    }

    public void setDepartment_phone(String department_phone) {
        this.department_phone = department_phone;
    }

    public String getDepartment_remarks() {
        return department_remarks;
    }

    public void setDepartment_remarks(String department_remarks) {
        this.department_remarks = department_remarks;
    }

    @Override
    public String toString() {
        return "{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", department_name='" + department_name + '\'' +
                ", department_charge='" + department_charge + '\'' +
                ", department_phone='" + department_phone + '\'' +
                ", department_remarks='" + department_remarks + '\'' +
                '}';
    }
}
